package com.hoshiibuy.sys.core.service.model.user;

import lombok.Data;

import javax.validation.constraints.Min;

@Data
public class AssignRoleModel {
    @Min(value = 1,message = "用户ID必须大于0")
    private int userId;
    private int[] userRole;
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int[] getUserRole() {
		return userRole;
	}
	public void setUserRole(int[] userRole) {
		this.userRole = userRole;
	}
    
    
}
